//
//  NSDate+Jeask.h
// //  Created by ti on 15/8/2.
//  Copyright (c) 2015年 ti. All rights reserved.



#import <Foundation/Foundation.h>

typedef enum{
    YMdHms = 0,
    YMd    = 1,
    Md     = 2,
    YM     = 3,
    ms    = 4,
    Hm     = 5,
    MdHm   = 6
} JeaskDateType;

@interface NSDate (Jeask)


/**
 *  根据已定的时间格式返回字符串
 *
 *  @param type 时间格式
 *
 *  @return 字符串
 */
-(NSString *)inquireDateStringWithReturnType:(JeaskDateType)type;


/**
 *  根据自定的时间格式返回字符串
 *
 *  @param type 时间格式
 *
 *  @return 字符串
 */
-(NSString *)inquireDateStringWithCustomType:(NSString *)type;

@end
